package com.example.zhilongzhang.constructionpayapp.bean;

import java.util.List;

public class UserInfoBean {


    /**
     * updatedBy : null
     * mail : null
     * credentialsNonExpired : true
     * dept : {"deptName":"荣鑫供热站","updatedBy":"admin","createdBy":"admin","createdTime":"2019-04-03 20:43:36","id":105000049003111,"delFlag":0,"dispOrder":0,"lastUpdateTime":"2019-04-03 20:43:36"}
     * authorities : [{"updatedBy":null,"role":"收费员","roleDesc":"收费员","createdBy":null,"authority":"收费员","roleName":"收费员","createdTime":"2019-04-03 20:44:54","platformPermissions":[],"id":20,"lastUpdateTime":"2019-04-03 20:44:54"}]
     * enabled : true
     * realName : 清洁能源收费员01
     * password : password
     * createdBy : admin
     * createdTime : 2019-04-03 20:44:44
     * tel : 13000000000
     * accountNonExpired : true
     * id : 19
     * lastUpdateTime : 2019-04-03 20:45:02
     * username : user01
     * accountNonLocked : true
     */
    private String updatedBy;
    private String mail;
    private boolean credentialsNonExpired;
    private DeptEntity dept;
    private List<AuthoritiesEntity> authorities;
    private boolean enabled;
    private String realName;
    private String password;
    private String createdBy;
    private String createdTime;
    private String tel;
    private boolean accountNonExpired;
    private int id;
    private String lastUpdateTime;
    private String username;
    private boolean accountNonLocked;

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public void setCredentialsNonExpired(boolean credentialsNonExpired) {
        this.credentialsNonExpired = credentialsNonExpired;
    }

    public void setDept(DeptEntity dept) {
        this.dept = dept;
    }

    public void setAuthorities(List<AuthoritiesEntity> authorities) {
        this.authorities = authorities;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public void setAccountNonExpired(boolean accountNonExpired) {
        this.accountNonExpired = accountNonExpired;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setLastUpdateTime(String lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setAccountNonLocked(boolean accountNonLocked) {
        this.accountNonLocked = accountNonLocked;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public String getMail() {
        return mail;
    }

    public boolean isCredentialsNonExpired() {
        return credentialsNonExpired;
    }

    public DeptEntity getDept() {
        return dept;
    }

    public List<AuthoritiesEntity> getAuthorities() {
        return authorities;
    }

    public boolean isEnabled() {
        return enabled;
    }

    public String getRealName() {
        return realName;
    }

    public String getPassword() {
        return password;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public String getTel() {
        return tel;
    }

    public boolean isAccountNonExpired() {
        return accountNonExpired;
    }

    public int getId() {
        return id;
    }

    public String getLastUpdateTime() {
        return lastUpdateTime;
    }

    public String getUsername() {
        return username;
    }

    public boolean isAccountNonLocked() {
        return accountNonLocked;
    }

    public class DeptEntity {
        /**
         * deptName : 荣鑫供热站
         * updatedBy : admin
         * createdBy : admin
         * createdTime : 2019-04-03 20:43:36
         * id : 105000049003111
         * delFlag : 0
         * dispOrder : 0
         * lastUpdateTime : 2019-04-03 20:43:36
         */
        private String deptName;
        private String updatedBy;
        private String createdBy;
        private String createdTime;
        private long id;
        private int delFlag;
        private int dispOrder;
        private String lastUpdateTime;
        String qrReqUrl;
        String qrSaveUrl;
        String depReqUrl;
        String depSaveUrl;
        String deptType;
        String companyCode;

        public String getCompanyCode() {
            return companyCode;
        }

        public void setCompanyCode(String companyCode) {
            this.companyCode = companyCode;
        }

        public String getDeptType() {
            return deptType;
        }

        public void setDeptType(String deptType) {
            this.deptType = deptType;
        }

        public String getQrReqUrl() {
            return qrReqUrl;
        }

        public void setQrReqUrl(String qrReqUrl) {
            this.qrReqUrl = qrReqUrl;
        }

        public String getQrSaveUrl() {
            return qrSaveUrl;
        }

        public void setQrSaveUrl(String qrSaveUrl) {
            this.qrSaveUrl = qrSaveUrl;
        }

        public String getDepReqUrl() {
            return depReqUrl;
        }

        public void setDepReqUrl(String depReqUrl) {
            this.depReqUrl = depReqUrl;
        }

        public String getDepSaveUrl() {
            return depSaveUrl;
        }

        public void setDepSaveUrl(String depSaveUrl) {
            this.depSaveUrl = depSaveUrl;
        }

        public void setDeptName(String deptName) {
            this.deptName = deptName;
        }

        public void setUpdatedBy(String updatedBy) {
            this.updatedBy = updatedBy;
        }

        public void setCreatedBy(String createdBy) {
            this.createdBy = createdBy;
        }

        public void setCreatedTime(String createdTime) {
            this.createdTime = createdTime;
        }

        public void setId(long id) {
            this.id = id;
        }

        public void setDelFlag(int delFlag) {
            this.delFlag = delFlag;
        }

        public void setDispOrder(int dispOrder) {
            this.dispOrder = dispOrder;
        }

        public void setLastUpdateTime(String lastUpdateTime) {
            this.lastUpdateTime = lastUpdateTime;
        }

        public String getDeptName() {
            return deptName;
        }

        public String getUpdatedBy() {
            return updatedBy;
        }

        public String getCreatedBy() {
            return createdBy;
        }

        public String getCreatedTime() {
            return createdTime;
        }

        public long getId() {
            return id;
        }

        public int getDelFlag() {
            return delFlag;
        }

        public int getDispOrder() {
            return dispOrder;
        }

        public String getLastUpdateTime() {
            return lastUpdateTime;
        }
    }

    public class AuthoritiesEntity {
        /**
         * updatedBy : null
         * role : 收费员
         * roleDesc : 收费员
         * createdBy : null
         * authority : 收费员
         * roleName : 收费员
         * createdTime : 2019-04-03 20:44:54
         * platformPermissions : []
         * id : 20
         * lastUpdateTime : 2019-04-03 20:44:54
         */
        private String updatedBy;
        private String role;
        private String roleDesc;
        private String createdBy;
        private String authority;
        private String roleName;
        private String createdTime;
        private List<?> platformPermissions;
        private int id;
        private String lastUpdateTime;

        public void setUpdatedBy(String updatedBy) {
            this.updatedBy = updatedBy;
        }

        public void setRole(String role) {
            this.role = role;
        }

        public void setRoleDesc(String roleDesc) {
            this.roleDesc = roleDesc;
        }

        public void setCreatedBy(String createdBy) {
            this.createdBy = createdBy;
        }

        public void setAuthority(String authority) {
            this.authority = authority;
        }

        public void setRoleName(String roleName) {
            this.roleName = roleName;
        }

        public void setCreatedTime(String createdTime) {
            this.createdTime = createdTime;
        }

        public void setPlatformPermissions(List<?> platformPermissions) {
            this.platformPermissions = platformPermissions;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setLastUpdateTime(String lastUpdateTime) {
            this.lastUpdateTime = lastUpdateTime;
        }

        public String getUpdatedBy() {
            return updatedBy;
        }

        public String getRole() {
            return role;
        }

        public String getRoleDesc() {
            return roleDesc;
        }

        public String getCreatedBy() {
            return createdBy;
        }

        public String getAuthority() {
            return authority;
        }

        public String getRoleName() {
            return roleName;
        }

        public String getCreatedTime() {
            return createdTime;
        }

        public List<?> getPlatformPermissions() {
            return platformPermissions;
        }

        public int getId() {
            return id;
        }

        public String getLastUpdateTime() {
            return lastUpdateTime;
        }
    }
}
